﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<CRegisterVModel>" %>
<%@ Register src="/Views/Shared/AccountFooter.ascx" tagname="AccountFooter" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title><%:SiteResource.Title() %></title>
     <%="<meta name=\"Keywords\" content=\"" + SiteResource.KeyWord() + "\" />\r\n"%>
    <%="<meta name=\"Description\" content=\"" + SiteResource.Description() + "\" />\r\n"%>
    <link href="/Content/css/register.css" rel="stylesheet" type="text/css" />
    <link href="/Content/Css/commonstyle.css" rel="Stylesheet" type="text/css" />
    <link href="/Content/css/common.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="/Scripts/formValidator.js" charset="GB2312"></script>
    <script type="text/javascript" src="/Scripts/library.js" charset="GB2312"></script>
    <script type="text/javascript" src="/Scripts/plug.js" charset="GB2312"></script>
    <script type="text/javascript">
        var control = new plug.Control();
        var valueskin = new plug.ValueSkin();
        var highlight = new plug.HighLightControl();
        var loglib = new library.Login();
        function ToBRegister() {
            new library.Common().Redirect('/Account/BRegister');
        }
        $(function () {
            jQuery('#Validator').val('');
            jQuery('input[name="token"]').val('');
            highlight.ResistHighLight();
            valueskin.Register();
            control.BuildSelect({ element: 'sltLocation',bindtype:'name', nobind: [0] }, 'WorkArea');
            control.BuildSelect({ element: 'sltCollage'}, 'Collage');
        });
        function Refalsh(sender) {
            loglib.Refalsh(sender);
        }
        loglib.CBindValidator();
    </script>
</head>
<body>
<div class="register">
        <div class="register-line">
            <div class="register-line-left">
                <div class="register-logo">
                    <a href="/"><img alt="会员注册" src="/Content/Images/logo会员注册.png" style="border:none;"/></a>
                </div>
            </div>
            <div class="register-line-right">
                <div class="register-toprighttext">
                    <img alt="重庆大学生兼职网" src="/Content/Images/重庆最具影响力的兼职资源服务平台.png" /></div>
            </div>
        </div>
        <div class="hline">
        </div>
        <div class="register-line">
            <div class="register-line-right" style="padding-bottom:10px;">
                <a href="/" style="color:#333; text-decoration:none">站点首页</a>
                <span style="color: #E1E1E1">|</span>
                <a href="/Account/Login" style="color:#333; text-decoration:none">登陆</a>
            </div>
        </div>
        <div class="register-line">
            <div class="box">
                <form id="form1" action="/Account/CRegister" method="post">
                <input type="hidden" name="token" />
                    <div class="boxbg">
                        <div class="box-title">
                            <img alt="会员注册" src="/Content/Images/会员注册.png" />
                        </div>
                        <div class="box-line">
                            <div class="register-step">
                                <div class="register-line-left">
                                    <div class="register-step-1">
                                        选择注册成为 </div>
                                </div>
                                <div class="register-line-vspace">
                                </div>
                                <div class="register-line-left">
                                    <div class="tab1" id="tab1">
                                    </div>
                                    <div class="tab2-1" id="tab2" onclick="ToBRegister()">
                                    </div>
                                </div>
                            </div>
                            <div class="box-dotline">
                            </div>
                        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <div class="box-line">
                        <div class="register-step">
                            <div class="register-line-left">
                                <div class="register-step-2">
                                    填写注册信息</div>
                            </div>
                            <div class="register-line-vspace">
                            </div>
                            <div class="register-line-left">
                                <div class="regboxa" id="regbox1">
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            会员名:</div>
                                        <div class="regbox-item-textbox">
                                            <input default="请输入常用邮箱地址" class="regbox-item-ipt highlightborder #ffc15c" tabindex="1" type="text" name="UserName" id="txtUserName" maxlength="50"/>
                                        </div>
                                        <div class="regbox-item-message" id="txtUserNameTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            密&nbsp;&nbsp;码:</div>
                                        <div class="regbox-item-textbox">
                                            <input class="regbox-item-ipt highlightborder #ffc15c" tabindex="2" type="password" name="Password" id="txtPassword" maxlength="20" /></div>
                                        <div class="regbox-item-message" id="txtPasswordTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            确认密码:</div>
                                        <div class="regbox-item-textbox">
                                            <input class="regbox-item-ipt highlightborder #ffc15c" tabindex="3" type="password" name="Confirm" id="txtConfirm" maxlength="20"/></div>
                                        <div class="regbox-item-message" id="txtConfirmTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            现居地址:</div>
                                        <div class="regbox-item-textbox">
                                            <select name="Location" id="sltLocation" style="width:120px;">
                                            </select>
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            就读(毕业)于:</div>
                                        <div class="regbox-item-textbox">
                                            <select name="Collage" id="sltCollage" style="width:120px;">
                                            </select>
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            验证码:</div>
                                        <input type="text" name="Validator" id="txtValidator" maxlength="4" tabindex="4" style="width: 50px; float:left;" class="highlightborder #ffc15c" />
                                        <div id="codeimg" class="regbox-item-message">
                                    
                                        </div>
                                        <div class="regbox-item-message" id="txtValidatorTip"></div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-checkbox">
                                            <input type="checkbox" class="checkbox" name="agreementcheck" id="agreementcheck" checked="checked"/>
                                            <label for="agreementcheck">
                                                我确认并同意</label>
                                        </div>
                                        <div class="regbox-item-agreement">
                                            <a href="/Account/Agreement" target="_blank">服务声明</a>
                                        </div>
                                        <div class="regbox-item-message" id="agreementcheckTip"></div>
                                    </div>
                                    <%if (!Model.Pass)
                                      { %>
                                    <div class="regbox-item">
                                        <div class="regbox-item-checkbox">
                                             <div class="font-red font-size15">
                                             <div style="margin-left:30px;"><%:Model.FaildMessage %></div>
                                             </div>
                                        </div>
                                    </div>
                                    <%} %>
                                </div>
                                
                            </div>
                        </div>
                    </div>
                        <div class="box-sepline">
                        </div>
                        <div class="loginbox-line">
                            <div class="registerbuttom">
                                <input type="submit" id="btnSubmit" value=""  class="reg_btn"/>
                            </div>
                        </div>
                        <div class="loginbox-line">
                            <div class="regbox-login">
                                已经是会员，请点击 <a href="/Account/Login">登录</a></div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="content-line">
            <uc1:AccountFooter ID="AccountFooter1" runat="server" /> 
        </div>
    </div>
</body>
</html>